home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / August 96 / Re ODTransform problem.2 < prev    next >
Encoding:
Internet Message Format  |  1996-08-01  |  1.7 KB  |  [TEXT/ttxt]

  1. Subject:     Re: ODTransform problem
  2. Sent:        8/1/96 12:10 PM
  3. Received:    8/1/96 3:34 PM
  4. From:        Troy Gaul, tgaul@apple.com
  5. Reply-To:    ODF Interest, ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. >>>I find that I cannot see the contents of
  9. >>>the ODTransform in the MW debugger. Is there someway to view this object in
  10. >>>the debugger?
  11. >
  12. >The MW debugger does have some SOM support, including a special hand-built
  13. >OpenDoc SOM-symbols file. Check out your CW9 CD.
  14.  
  15. Of course, this won't help with an ODTransform in particular as it's not a
  16. SOM object.  In fact, it's a ByteArray.  The data part of the byte array
  17. contains the polygon data in the format specified in Polygon.idl:
  18.  
  19. //=====================================================================
  20. // ODContour
  21. //=====================================================================
  22.  
  23. typedef ODByteArray ODContour;
  24.  
  25. /*
  26.         struct ODContour {
  27.            ODSLong  nVertices;   // Variable-size struct:
  28.            ODPoint  vertex[1];   // Array size is actually nVertices
  29.         };
  30. */
  31.  
  32. //=====================================================================
  33. // ODPolygon
  34. //=====================================================================
  35.  
  36. typedef ODByteArray ODPolygon;
  37.  
  38. /*
  39.         struct ODPolygon {
  40.           ODSLong    nContours;     // Variable-size struct:
  41.           ODContour  firstContour;  // Rest of contours follow after first
  42.         };
  43. */
  44.  
  45. _troy
  46.  
  47. ......................................................................
  48.  Troy Gaul                                            tgaul@apple.com
  49.  Apple Computer, Inc.                                   OpenDoc Parts
  50.  
  51.  
  52.